<dl class="list-filter clearfix" ng-repeat="filter in filters">
    <div class="clearfix">
        <dt class="list-title"><a href="javascript:void(0)" ng-bind="filter.title" class="list-title-text"></a></dt>
        <dd class="list-item unlimited list-icon">
            <a href="javascript:void(0)" class="list-item-text" ng-click="isCollapsed = !isCollapsed">
                <span class="glyphicon turn-right-90 icon-pull"
                      ng-class="{'glyphicon-chevron-right':isCollapsed,'glyphicon-chevron-left':!isCollapsed}"></span>
            </a>
        </dd>
        <dd class="list-item unlimited" ng-class="{'active':filter.config.chose==='不限'}"
            ng-click="filter.config.chose='不限'">
            <a href="javascript:void(0)" class="list-item-text">不限</a>
        </dd>
        <dd class="list-item dropdown" ng-if="filter.ddItems&&filter.ddItems.length>0" meta-dropdown
            ng-class="{'active':filter.config.ddChose===filter.config.chose}">
            <a href="javascript:void(0)" class="list-item-text" ng-bind="filter.config.ddChose"></a>
            <ul class="dropdown-list" ng-class="{'open':isExpanded}">
                <li class="dropdown-list-item" ng-repeat="item in filter.ddItems" ng-bind="item"
                    ng-class="{'active':item===filter.config.chose}"
                    ng-click="filter.config.chose=filter.config.ddChose=item">
                </li>
            </ul>
        </dd>
        <dd class="hr"></dd>
    </div>
    <div uib-collapse="isCollapsed" class="clearfix">
        <dd class="list-item" ng-repeat="item in filter.items track by $index" ng-class="{'active':item===filter.config.chose}"
            ng-click="filter.config.chose=item">
            <a href="javascript:void(0)" ng-bind="item" class="list-item-text" ng-show="!isCollapsed">
            </a>
        </dd>
    </div>
</dl>
